import {
	createSSRApp
} from "vue";
import App from "./App.vue";
import { createPinia } from "pinia";
//import * as Pinia from 'pinia';
import '@/static/iconfont.css'
import "@/static/base.scss"
import NavBar from '@/pages/components/common/navbar.vue'
import Request from '@/utils/Request'
import Api from '@/utils/Api'
import Message from '@/utils/Message'
export function createApp() {
	const app = createSSRApp(App);
	app.use(createPinia())
	app.component('NavBar',NavBar)
	
	app.config.globalProperties.Request = Request
	app.config.globalProperties.Api = Api
	app.config.globalProperties.Message = Message
	return {
		app,
	};
}
